using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_syslog
    {
        private int? _id;
        private int? _pid;
        private int? _gid;
        private DateTime? _logtime;
        private int? _loguser;
        private string _logip = String.Empty;
        private byte _logtype;
        private string _logcomment = String.Empty;

        public hfg_syslog()
        {
        }

      

        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _pid = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _gid = reader.GetInt32(2);
        //        if (!reader.IsDBNull(3)) _logtime = reader.GetDateTime(3);
        //        if (!reader.IsDBNull(4)) _loguser = reader.GetInt32(4);
        //        if (!reader.IsDBNull(5)) _logip = reader.GetString(5);
        //        if (!reader.IsDBNull(6)) _logtype = reader.GetByte(6);
        //        if (!reader.IsDBNull(7)) _logcomment = reader.GetString(7);
        //    }
        //}

       
     

        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int? pid
        {
            get { return _pid; }
            set { _pid = value; }
        }

        public int? gid
        {
            get { return _gid; }
            set { _gid = value; }
        }

        public DateTime? logtime
        {
            get { return _logtime; }
            set { _logtime = value; }
        }

        public int? loguser
        {
            get { return _loguser; }
            set { _loguser = value; }
        }

        public string logip
        {
            get { return _logip; }
            set { _logip = value; }
        }

        public byte logtype
        {
            get { return _logtype; }
            set { _logtype = value; }
        }

        public string logcomment
        {
            get { return _logcomment; }
            set { _logcomment = value; }
        }
        #endregion

       
    }
}
